import React from "react";
import CreateContextGrandSon from "./CreateContextGrandSon.jsx";
import ctx from "./Context.js";

export default function CreateContextSon() {
  const context = React.useContext(ctx);
  return (
    <div style={{border:"1px solid red",padding:8}}>
      SON:{context.user.name}|{context.user.age}
      <CreateContextGrandSon></CreateContextGrandSon>
    </div>
  );
}
